package binaryTreePackage;

public class BSTNode {
	/**
	 * Constructor.Used to initialize the parameters
	 */
	public BSTNode(){
		this.LeftChild=null;
		this.RightChild=null;
		this.nodeData=null;
	}
	public void saveData(String readInData){
		this.nodeData=readInData;
	}
	public String getData(){
		return this.nodeData;
	}
	public BSTNode LeftChild;
	public BSTNode RightChild;
	private String nodeData;

}
